#FROM golang:1.16-alpine
FROM golang:1.17

MAINTAINER Qiang Zhou

WORKDIR /root/dacheNameCenter

COPY . /root/dacheNameCenter

RUN go env -w GOPROXY=https://goproxy.cn,direct

RUN go build main.go

EXPOSE 8000

CMD [ "./main" ]

